1,229 research outputs found

    Reify Your Collection Queries for Modularity and Speed!

    Full text link
    Modularity and efficiency are often contradicting requirements, such that programers have to trade one for the other. We analyze this dilemma in the context of programs operating on collections. Performance-critical code using collections need often to be hand-optimized, leading to non-modular, brittle, and redundant code. In principle, this dilemma could be avoided by automatic collection-specific optimizations, such as fusion of collection traversals, usage of indexing, or reordering of filters. Unfortunately, it is not obvious how to encode such optimizations in terms of ordinary collection APIs, because the program operating on the collections is not reified and hence cannot be analyzed. We propose SQuOpt, the Scala Query Optimizer--a deep embedding of the Scala collections API that allows such analyses and optimizations to be defined and executed within Scala, without relying on external tools or compiler extensions. SQuOpt provides the same "look and feel" (syntax and static typing guarantees) as the standard collections API. We evaluate SQuOpt by re-implementing several code analyses of the Findbugs tool using SQuOpt, show average speedups of 12x with a maximum of 12800x and hence demonstrate that SQuOpt can reconcile modularity and efficiency in real-world applications.Comment: 20 page

    Fostering energy-awareness in simulations behind scientific workflow management systems

    Get PDF
    © 2014 IEEE.Scientific workflow management systems face a new challenge in the era of cloud computing. The past availability of rich information regarding the state of the used infrastructures is gone. Thus, organising virtual infrastructures so that they not only support the workflow being executed, but also optimise for several service level objectives (e.g., Maximum energy consumption limit, cost, reliability, availability) become dependent on good infrastructure modelling and prediction techniques. While simulators have been successfully used in the past to aid research on such workflow management systems, the currently available cloud related simulation toolkits suffer form several issues (e.g., Scalability, narrow scope) that hinder their applicability. To address this need, this paper introduces techniques for unifying two existing simulation toolkits by first analysing the problems with the current simulators, and then by illustrating the problems faced by workflow systems through the example of the ASKALON environment. Finally, we show how the unification of the selected simulators improve on the the discussed problems

    Fostering energy-awareness in scientific cloud users

    Get PDF
    © 2014 IEEE.Academic cloud infrastructures are constructed and maintained so they minimally constrain their users. Since they are free and do not limit usage patterns, academics developed such behavior that jeopardizes fair and flexible resource provisioning. For efficiency, related work either explicitly limits user access to resources, or introduces automatic rationing techniques. Surprisingly, the root cause (i.e., the user behavior) is disregarded by these approaches. This paper compares academic cloud user behavior to its commercial equivalent. We deduce, that academics should behave like commercial cloud users to relieve resource provisioning. To encourage this behavior, we propose an architectural extension to academic infrastructure clouds. We evaluate our extension via a simulation using real life academic resource request traces. We show a potential resource usage reduction while maintaining the unlimited nature of academic clouds

    An architecture to stimulate behavioral development of academic cloud users

    Get PDF
    Academic cloud infrastructures are constructed and maintained so they minimally constrain their users. Since they are free and do not limit usage patterns, academics developed such behavior that jeopardizes fair and flexible resource provisioning. For efficiency, related work either explicitly limits user access to resources, or introduce automatic rationing techniques. Surprisingly, the root cause (i.e., the user behavior) is disregarded by these approaches. This article compares academic cloud user behavior to its commercial equivalent. We deduce, that academics should behave like commercial cloud users to relieve resource provisioning. To encourage commercial like behavior, we propose an architectural extension to existing academic infrastructure clouds. First, every user's energy consumption and efficiency is monitored. Then, energy efficiency based leader boards are used to ignite competition between academics and reveal their worst practices. Leader boards are not sufficient to completely change user behavior. Thus, we introduce engaging options that encourage academics to delay resource requests and prefer resources more suitable for the infrastructure's internal provisioning. Finally, we evaluate our extensions via a simulation using real life academic resource request traces. We show a potential resource utilization reduction (by the factor of at most 2.6) while maintaining the unlimited nature of academic clouds. © 2014 Elsevier Inc

    Concept for a Time-of-Flight Small Angle Neutron Scattering Instrument at the European Spallation Source

    Full text link
    A new Small Angle Neutron Scattering instrument is proposed for the European Spallation Source. The pulsed source requires a time-of-flight analysis of the gathered neutrons at the detector. The optimal instrument length is found to be rather large, which allows for a polarizer and a versatile collimation. The polarizer allows for studying magnetic samples and incoherent background subtraction. The wide collimation will host VSANS and SESANS options that increase the resolution of the instrument towards um and tens of um, respectively. Two 1m2 area detectors will cover a large solid angle simultaneously. The expected gains for this new instrument will lie in the range between 20 and 36, depending on the assessment criteria, when compared to up-to-date reactor based instruments. This will open new perspectives for fast kinetics, weakly scattering samples, and multi-dimensional contrast variation studies.Comment: 18 pages, 10 figure

    DIRK Schemes with High Weak Stage Order

    Full text link
    Runge-Kutta time-stepping methods in general suffer from order reduction: the observed order of convergence may be less than the formal order when applied to certain stiff problems. Order reduction can be avoided by using methods with high stage order. However, diagonally-implicit Runge-Kutta (DIRK) schemes are limited to low stage order. In this paper we explore a weak stage order criterion, which for initial boundary value problems also serves to avoid order reduction, and which is compatible with a DIRK structure. We provide specific DIRK schemes of weak stage order up to 3, and demonstrate their performance in various examples.Comment: 10 pages, 5 figure

    Effects of regional citrate anticoagulation on thrombin generation, fibrinolysis and platelet function in critically ill patients receiving continuous renal replacement therapy for acute kidney injury: a prospective study

    Get PDF
    Background: Regional citrate anticoagulation (RCA) is recommended for continuous renal replacement therapy (CRRT). However, filter life varies and premature filter clotting can occur. The aims of this explorative prospective study were to investigate the effects of RCA on thrombin generation, fibrinolysis and platelet function in critically ill patients receiving CRRT, to compare clotting parameters between systemic and intra-circuit blood samples, and to screen participants for coagulation disorders. We recruited critically ill adult patients admitted to a 30-bedded Intensive care unit in a tertiary care hospital who required CRRT with RCA for acute kidney injury (AKI). Patients with pre-existing thrombotic, bleeding tendencies or a CRRT duration less than 48 h were excluded. We measured coagulation and thrombophilia parameters at baseline. Thrombin generation, D-dimer and platelet function were measured pre-CRRT and at 12, 24, 36, 48 and 72 h after commencing CRRT using blood samples taken from the arterial line and the circuit. Results: At baseline, all eleven patients (mean age 62.4 years, 82% male) had Factor VIII and von Willebrand Factor concentrations above reference range and significantly increased peak thrombin generation. During CRRT, there were no significant changes in systemic maximum peak thrombin generation, time to peak thrombin generation, fibrinogen, D-dimer and platelet function analysis. We observed no significant difference between paired samples taken from the patient's arterial line and the circuit. Conclusions: Critically ill patients with AKI requiring CRRT are hypercoagulable. Citrate used for anticoagulation during CRRT does not affect thrombin generation, D-dimer or platelet function. Systemic clotting parameters reflect intra-circuit results. Trial registration: ClinicalTrials.gov Identifier: NCT02486614. Registered 01 July 2015—Registered after recruitment of first patient. https://clinicaltrials.gov/ct2/show/NCT0248661
    corecore